package com.example.demo.common.mybatis.config;

public class Property {
	private String columnName;
	private String dataType;
	// PRI
	private String columnKey;
	// 精确度
	private Integer numericPrecision;
	// 小数点后位数
	private Integer numericScale;

	private String constraintType;

	/**
	 * @return the constraintType
	 */
	public String getConstraintType() {
		return constraintType;
	}

	/**
	 * @param constraintType
	 *            the constraintType to set
	 */
	public void setConstraintType(String constraintType) {
		this.constraintType = constraintType;
	}

	/**
	 * @return the numericPrecision
	 */
	public Integer getNumericPrecision() {
		return numericPrecision;
	}

	/**
	 * @param numericPrecision
	 *            the numericPrecision to set
	 */
	public void setNumericPrecision(Integer numericPrecision) {
		this.numericPrecision = numericPrecision;
	}

	/**
	 * @return the numericScale
	 */
	public Integer getNumericScale() {
		return numericScale;
	}

	/**
	 * @param numericScale
	 *            the numericScale to set
	 */
	public void setNumericScale(Integer numericScale) {
		this.numericScale = numericScale;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	// auto_increment
	private String extra;

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

}
